Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.webengine.mobile.pageproviders.contrib--providers

This contribution is part of XML component org.nuxeo.webengine.mobile.pageproviders.contrib inside nuxeo-web-mobile-dm-5.8.jar

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="faceted_search_core_default">
            <property name="coreSession">#{documentManager}</property>
            <whereClause docType="FacetedSearchDefault">
              <fixedPart>
                ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0
                AND ecm:currentLifeCycleState != 'deleted'
              </fixedPart>
              <predicate operator="FULLTEXT" parameter="ecm:fulltext">
                <field name="ecm_fulltext" schema="faceted_search_default"/>
              </predicate>
              <predicate operator="BETWEEN" parameter="dc:created">
                <field name="dc_created_min" schema="faceted_search_default"/>
                <field name="dc_created_max" schema="faceted_search_default"/>
              </predicate>
              <predicate operator="BETWEEN" parameter="dc:modified">
                <field name="dc_modified_min" schema="faceted_search_default"/>
                <field name="dc_modified_max" schema="faceted_search_default"/>
              </predicate>
              <predicate operator="IN" parameter="dc:creator">
                <field name="dc_creator" schema="faceted_search_default"/>
              </predicate>
              <predicate operator="STARTSWITH" parameter="dc:coverage">
                <field name="dc_coverage" schema="faceted_search_default"/>
              </predicate>
              <predicate operator="STARTSWITH" parameter="dc:subjects">
                <field name="dc_subjects" schema="faceted_search_default"/>
              </predicate>
              <predicate operator="STARTSWITH" parameter="ecm:path">
                <field name="ecm_path" schema="faceted_search_default"/>
              </predicate>
            </whereClause>
            <sort ascending="true" column="dc:title"/>
            <pageSize>20</pageSize>
          </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

      <coreQueryPageProvider name="faceted_search_core_default">
        <property name="coreSession">#{documentManager}</property>
        <whereClause docType="FacetedSearchDefault">
          <fixedPart>
            ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0
            AND ecm:currentLifeCycleState != 'deleted'
          </fixedPart>
          <predicate operator="FULLTEXT" parameter="ecm:fulltext">
            <field name="ecm_fulltext" schema="faceted_search_default"/>
          </predicate>
          <predicate operator="BETWEEN" parameter="dc:created">
            <field name="dc_created_min" schema="faceted_search_default"/>
            <field name="dc_created_max" schema="faceted_search_default"/>
          </predicate>
          <predicate operator="BETWEEN" parameter="dc:modified">
            <field name="dc_modified_min" schema="faceted_search_default"/>
            <field name="dc_modified_max" schema="faceted_search_default"/>
          </predicate>
          <predicate operator="IN" parameter="dc:creator">
            <field name="dc_creator" schema="faceted_search_default"/>
          </predicate>
          <predicate operator="STARTSWITH" parameter="dc:coverage">
            <field name="dc_coverage" schema="faceted_search_default"/>
          </predicate>
          <predicate operator="STARTSWITH" parameter="dc:subjects">
            <field name="dc_subjects" schema="faceted_search_default"/>
          </predicate>
          <predicate operator="STARTSWITH" parameter="ecm:path">
            <field name="ecm_path" schema="faceted_search_default"/>
          </predicate>
        </whereClause>
        <sort ascending="true" column="dc:title"/>
        <pageSize>20</pageSize>
      </coreQueryPageProvider>

  </extension>